package org.eclipseuseradmin.internal.demo;

import org.eclipseuseradmin.ui.UserAdapter;
import org.osgi.service.useradmin.User;

public class CustomerAdapter extends UserAdapter implements ICustomer {

	public CustomerAdapter(User user) {
		super(user);
	}

	public String getAddress() {

		return (String) ((User) role).getProperties().get(
				"address");
	}

	public void setAddress(String address) {
		
		((User) role).getProperties().put("address", address);
	}
	
	
}
